package test;

import CDIO2.Player;

public class testPlayer {

	public static void main(String[] args) {
		Player player = new Player("Rasmus");
		System.out.println(player.getName());
		System.out.println(player.getPoints());
		System.out.println(player.getPlayerField().getMessege());
		player.doTurn(5);
		System.out.println(player.getPlayerField().getNumber());
		System.out.println(player.getPoints());
		player.doTurn(3);
		System.out.println(player.getPlayerField().getNumber());
		System.out.println(player.getPoints());
		player.doTurn(10);
		System.out.println(player.getPlayerField().getNumber());
		System.out.println(player.getPoints());
		player.doTurn(12);
		System.out.println(player.getPlayerField().getNumber());
		System.out.println(player.getPoints());
		player.getKonto().withdrawPoints(20);
		System.out.println(player.getPoints());
		System.out.println(player.getLost());
		player.getKonto().withdrawPoints(10000);
		System.out.println(player.getPoints());
		System.out.println(player.getLost());

	}

}
 